import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router"

const routes:RouteRecordRaw[] = [

    {
        path:'/',
        name:'ShowInvest',
        component:()=>import('../view/ShowInvest.vue')
    },
    {
        path:'/EditInvest/:Id',
        name:'EditInvest',
        component:()=>import('../view/EditInvest.vue')
    },
]

const router = createRouter({
    history:createWebHistory(),
    routes
})

export default router
